package com.oa.ylms.apps.business.regulations;

import java.util.List;

import com.oa.ylms.apps.entity.regulations.RegulationCategoryValue;

public interface IRegulationCategoryService {
/**
 * 
	private Integer categoryId;
	private String categoryName;
	private Integer states;
 * @return
 * @throws Exception
 */
	
	    public List<RegulationCategoryValue> queryAllCategory() throws Exception;
		
		public RegulationCategoryValue queryCategoryById(int categoryId) throws Exception;
		
		public int addRegulationCategory(String categoryName,int states) throws Exception;
		
		public boolean deleteRegulationCategory(int categoryId) throws Exception;

		public boolean modifyRegulationCategory(int categoryId, String categoryName,int states) throws Exception;

		public boolean toDisable(int categoryId) throws Exception;
		
		public boolean toEnable(int categoryId) throws Exception;
		
		public List<RegulationCategoryValue> queryCategoryByStates(Integer states) throws Exception;
	
}
